package chapter03;

public class ComputerTable extends Table{
    private int range;
    public ComputerTable(String color, String material, int range) {
        super(color, material);
        this.range = range;
    }

    public int getRange() {
        return range;
    }

    public void setRange(int range) {
        this.range = range;
    }
    public void introduce(){
        //先调用父类的函数
        super.introduce();
        System.out.println(this.range);
    }
}
